accessible: Avoid realizing the context prematurely
authorMatthias Clasen <mclasen@redhat.com>
Wed, 14 Oct 2020 04:16:23 +0000 (00:16 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 15 Oct 2020 01:04:25 +0000 (21:04 -0400)
commit2370429752e660458cdafddf78ad27512c2f3500
tree871cde2be6257e2cdb10b3c50d8f752df1dc2a45
parent7c6c718e191e8d20400bceead72ba80756847c76
accessible: Avoid realizing the context prematurely

platform change is called from gtk_widget_set_focusable
which is likely to be called early on in init(). We don't
want to create an AT context that early if we can help
it, e.g. since it makes it impossible to override the
accessible-role with a construct property.
gtk/gtkaccessible.c